<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>日语第四课复习</title>
    <style>
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Microsoft YaHei', sans-serif;
            line-height: 1.6;
            padding: 15px;
            background-color: #f5f5f5;
            color: #333;
            font-size: 16px;
        }
        h1, h2, h3 {
            color: #2c3e50;
            margin-top: 20px;
            margin-bottom: 15px;
        }
        h1 {
            font-size: 1.8rem;
            border-bottom: 2px solid #3498db;
            padding-bottom: 10px;
            text-align: center;
        }
        h2 {
            font-size: 1.5rem;
            border-bottom: 1px solid #ddd;
            padding-bottom: 8px;
        }
        h3 {
            font-size: 1.3rem;
        }
 1.3rem;
        }
        .section {
            background-color: white;
            padding: 15px;
            margin-bottom: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .example {
            background-color: #f8f9fa;
            padding: 12px;
            border-left: 4px solid #2ecc71;
            margin: 12px 0;
            border-radius: 0 4px 4px 0;
        }
        .word-card {
            display: flex;
            flex-direction: column;
            padding: 12px;
            border: 1px solid #ddd;
            margin: 8px 0;
            border-radius: 6px;
            background-color: white;
        }
        .word-info {
            margin-bottom: 8px;
        }
        .romaji {
            color: #7f8c8d;
            font-size: 0.9em;
            margin: 4px 0;
        }
        .pronunciation {
            background-color: #3498db;
            color: white;
            border: none;
            padding: 8px 12px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 0.9em;
            margin-top: 5px;
            width: 100%;
        }
        .time-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            margin-top: 15px;
        }
        .time-card {
            padding: 10px;
            text-align: center;
            border: 1px solid #ddd;
            border-radius: 5px;
            background-color: white;
        }
        .note {
            color: #7f8c8d;
            font-style: italic;
            font-size: 0.9em;
            margin: 5px 0;
            padding: 5px;
            background-color: #f8f9fa;
            border-radius: 3px;
        }
        .usage {
            background-color: #e8f4fc-color: #e8f4fc;
            padding: 8px;
            border-radius: 4px;
            margin: 8px 0;
            font-size: 0.9em;
        }
        .exercise {
            background-color: #fff8e6;
            padding: 15px;
            border-radius: 8px;
            margin: 15px 0;
        }
        .question {
            font-weight: bold;
            margin-bottom: 8px;
            font-size: 1.1em;
        }
        .answer {
            color: #27ae60;
            font-weight: bold;
            margin: 8px 0;
        }
        .japanese-time {
            font-size: 1.2em;
            margin: 5px 0;
            font-weight: bold;
        }
        .usage strong, .note strong {
            color: #2c3e50;
        }
        .vocabulary-summary {
            margin-top: 30px;
            background-color: #e8f4f8;
            padding: 15px;
            border-radius: 8px;
        }
        .vocab-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 10px;
        }
        .vocab-table th, .vocab-table td {
            border: 1px solid #ddd;
            padding: 8px;
            text-align: left;
        }
        .vocab-table th {
            background-color: #3498db;
            color: white;
        }
        .vocab-table tr:nth-child(even) {
            background-color: #f2f2f2;
        }
        .vocab-table tr:hover {
            background-color: #ddd;
        }
        .summary-title {
                   }
        .summary-title {
            text-align: center;
            margin: 20px 0;
            color: #2c3e50;
            font-size: 1.5rem;
        }
        .verb-conjugation {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 15px;
        }
        .verb-card {
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
            background-color: white;
        }

        @media (min-width: 600px) {
            .time-grid, .verb-conjugation {
                grid-template-columns: repeat(3, 1fr);
            }
            .word-card {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
            }
            .pronunciation {
                width: auto;
                margin-top: 0;
            }
            .vocab-table {
                font-size: 0.9em;
            }
        }

        @media (min-width: 768px) {
            .time-grid, .verb-conjugation {
                grid-template-columns: repeat(4, 1fr);
            }
            body {
                font-size: 17px;
                padding: 20px;
                max-width: 800px;
                margin: 0 auto;
            }
            .vocab-table {
                font-size: 1em;
            }
        }
    </style>
</head>
<body>
    <h1>日语第四课复习</h1>
    
    <div class="section">
        <h2>时间表达</h2>
        
        <h3>小时 (1-12时)</h3>
        <div class="time-grid">
            <div class="time-card">
                <div>1時</div>
                <div class="japanese-time">いちじ</div>
                <div class="romaji">ichi-ji</div>
                <button class="pronunciation" onclick="speak('いちじ')">发音</button>
            </div>
            <div class="time-card">
                <div>2時</div>
                <div class="japanese-time">にじ</div>
                <div class="romaji">ni-ji</div>
                <button class="pronunciation" onclick="speak('にじ')">发音</button>
            </div>
            <div class="time-card">
                <div>3時</div>
                <div class="japanese-time">さんじ</div>
                <div class="romaji">san-ji</div>
                <button class="pronunciation" onclick="speak('さんじ')">发音</button>
            </div>
            <div class="time-card">
                <div>4時</div>
                <div class="japanese-time">よじ</div>
                <div class="romaji">yo-ji</div>
                <button class="pronunciation" onclick="speak('よじ')">发音</button>
            </div>
            <div class="time-card">
                <div>5時</div>
                <div class="japanese-time">ごじ</div>
                <div class="romaji">go-ji</div>
                <button class="pronunciation" onclick="speak('ごじ')">发音</button>
            </div>
            <div class="time-card">
                <div>6時</div>
                <div class="japanese-time">ろくじ</div>
                <div class="romaji">roku-ji</div>
                <button class="pronunciation" onclick="speak('ろくじ')">发音</button>
            </div>
            <div class="time-card">
                <div>7時</div>
                <div class="japanese-time">しちじ</div>
                <div class="romaji">shichi-ji</div>
                <button class="pronunciation" onclick="speak('しちじ')">发音</button>
            </div>
            <div class="time-card">
                <div>8時</div>
                <div class="japanese-time">はちじ</div>
                <div class="romaji">hachi-ji</div>
                <button class="pronunciation" onclick="speak('はちじ')">发音</button>
            </div>
            <div class="time-card">
                <div>9時</div>
                <div class="japanese-time">くじ</div>
                <div class="romaji">ku-ji</div>
                <button class="pronunciation" onclick="speak('くじ')">发音</button>
            </div>
            <div class="time-card">
                <div>10時</div>
                <div class="japanese-time">じゅうじ</div>
                <div class="romaji">jū-ji</div>
                <button class="pronunciation" onclick="speak('じゅうじ')">发音</button>
            </div>
            <div class="time-card">
                <div>11時</div>
                <div class="japanese-time">じゅういちじ</div>
                <div class="romaji">jū-ichi-ji</div>
                <button class="pronunciation" onclick="speak('じゅういちじ')">发音</button>
            </div>
            <div class="time-card">
                <div>12時</div>
                <div class="japanese-time">じゅうにじ</div>
                <div class="romaji">jū-ni-ji</div>
                <button class="pronunciation" onclick="speak('じゅうにじ')">发音</button>
            </div>
        </div>
        
        <div class="note">
            <strong>时间读法注意：</strong><br>
            1. 4时读作"よじ"而不是"しじ"<br>
            2. 7时读作"しちじ"而不是"ななじ"<br>
            3. 9时读作"くじ"而不是"きゅうじ"<br>
            4. 分钟数要放在"時"后面，如"3時15分"
        </div>
        
        <h3>分钟 (1-20分)</h3>
        <div class="time-grid">
            <div class="time-card">
                <div>1分</div>
                <div class="japanese-time">いっぷん</div>
                <div class="romaji">ippun</div>
                <button class="pronunciation" onclick="speak('いっぷん')">发音</button>
            </div>
            <div class="time-card">
                <div>2分</div>
                <div class="japanese-time">にふん</div>
                <div class="romaji">nifun</div>
                <button class="pronunciation" onclick="speak('にふん')">发音</button>
            </div>
            <div class="time-card">
                <div>3分</div>
                <div class="japanese-time">さんぷん</div>
                <div class="romaji">sanpun</div>
                <button class="pronunciation" onclick="speak('さんぷん')">发音</button>
            </div>
            <div class="time-card">
                <div>4分</div>
                <div class="japanese-time">よんぷん</div>
                <div class="romaji">yonpun</div>
                <button class="pronunciation" onclick="speak('よんぷん')">发音</button>
            </div>
            <div class="time-card">
                <div>5分</div>
 <div>5分</div>
                <div class="japanese-time">ごふん</div>
                <div class="romaji">gofun</div>
                <button class="pronunciation" onclick="speak('ごふん')">发音</button>
            </div>
            <div class="time-card">
                <div>6分</div>
                <div class="japanese-time">ろっぷん</div>
                <div class="romaji">roppun</div>
                <button class="pronunciation" onclick="speak('ろっぷん')">发音</button>
            </div>
            <div class="time-card">
                <div>7分</div>
                <div class="japanese-time">ななふん</div>
                <div class="romaji">nanafun</div>
                <button class="pronunciation" onclick="speak('ななふん')">发音</button>
            </div>
            <div class="time-card">
                <div>8分</div>
                <div class="japanese-time">はっぷん</div>
                <div class="romaji">happun</div>
                <button class="pronunciation" onclick="speak('はっぷん')">发音</button>
            </div>
            <div class="time-card">
                <div>9分</div>
                <div class="japanese-time">きゅうふん</div>
                <div class="romaji">kyūfun</div>
                <button class="pronunciation" onclick="speak('きゅうふん')">发音</button>
            </div>
            <div class="time-card">
                <div>10分</div>
                <div class="japanese-time">じゅっぷん/じっぷん</div>
                <div class="romaji">juppun/jippun</div>
                <button class="pronunciation" onclick="speak('じゅっぷん')">发音</button>
            </div>
            <div class="time-card">
                <div>11分</div>
                <div class="japanese-time">じゅういっぷん</div>
                <div class="romaji">jū-ippun</div>
                <button class="pronunciation" onclick="speak('じゅういっぷん')">发音</button>
            </div>
            <div class="time-card">
                <div>12分</div>
                <div class="japanese-time">じゅうにふん</div>
                <div class="romaji">jū-nifun</div>
                <button class="pronunciation" onclick="speak('じゅうにふん')">发音</button>
            </div>
            <div class="time-card">
                <div>13分</div>
                <div class="japanese-time">じゅうさんぷん</div>
                <div class="romaji">jū-sanpun</div>
                <button class="pronunciation" onclick="speak('じゅうさんぷん')">发音</button>
           ん')">发音</button>
            </div>
            <div class="time-card">
                <div>14分</div>
                <div class="japanese-time">じゅうよんぷん</div>
                <div class="romaji">jū-yonpun</div>
                <button class="pronunciation" onclick="speak('じゅうよんぷん')">发音</button>
            </div>
            <div class="time-card">
                <div>15分</div>
                <div class="japanese-time">じゅうごふん</div>
                <div class="romaji">jū-gofun</div>
                <button class="pronunciation" onclick="speak('じゅうごふん')">发音</button>
            </div>
            <div class="time-card">
                <div>16分</div>
                <div class="japanese-time">じゅうろっぷん</div>
                <div class="romaji">jū-roppun</div>
                <button class="pronunciation" onclick="speak('じゅうろっぷん')">发音</button>
            </div>
            <div class="time-card">
                <div>17分</div>
                <div class="japanese-time">じゅうななふん</div>
                <div class="romaji">jū-nanafun</div>
                <button class="pronunciation" onclick="speak('じゅうななふん')">发音</button>
            </div>
            <div class="time-card">
                <div>18分</div>
                <div class="japanese-time">じゅうはっぷん</div>
                <div class="romaji">jū-happun</div>
                <button class="pronunciation" onclick="speak('じゅうはっぷん')">发音</button>
            </div>
            <div class="time-card">
                <div>19分</div>
                <div class="japanese-time">じゅうきゅうふん</div>
                <div class="romaji">jū-kyūfun</div>
                <button class="pronunciation" onclick="speak('じゅうきゅうふん')">发音</button>
            </div>
            <div class="time-card">
                <div>20分</div>
                <div class="japanese-time">にじゅっぷん</div>
                <div class="romaji">ni-juppun</div>
                <button class="pronunciation" onclick="speak('にじゅっぷん')">发音</button>
            </div>
        </div>
        
        <div class="note">
            <strong>分钟读法注意：</strong><br>
            1. 1分、3分、4分、6分、8分、10分有音变<br>
            2. "分"的读音根据前面的数字变化为"ふん"或"ぷん"<br>
            3. 10分可以读作"じゅっぷん"或"じっぷん"<br>
            4. 30分有特殊说法"半(はん)"，如"3時半"
        </"3時半"
        </div>
    </div>
    
    <div class="section">
        <h2>文型2: わたしは每朝6時に起きます。</h2>
        <p>表示日常作息的句型：时间+に+动词</p>
        
        <div class="example">
            <p>私は毎朝6時に起きます。(我每天早上6点起床)</p>
            <p class="romaji">Watashi wa maiasa roku-ji ni okimasu.</p>
            <div class="usage">
                <strong>使用场景：</strong>描述日常作息<br>
                <strong>日常作息<br>
                <strong>注意：</strong>"に"用于具体时间点后
            </div>
            <button class="pronunciation" onclick="speak('私は毎朝6時に起きます')">发音</button>
        </div>
        
        <div class="example">
            <p>父は毎晩11時に寝ます。(我父亲每天晚上11点睡觉)</p>
            <p class="romaji">Chichi wa maiban jūichi-ji ni nemasu.</p>
            <div class="usage">
                <strong>使用场景：</strong>描述他人的作息习惯<br>
                <strong>注意：</strong>"毎晩"表示每天晚上
            </div>
            <button class="pronunciation" onclick="speak('父は毎晩11時に寝ます')">发音</button>
        </div>
        
        <div class="example">
            <p>学校は8時半に始まります。(学校8点半开始)</p>
            <p class="romaji">Gakkō wa hachi-ji han ni hajimarimasu.</p>
            <div class="usage">
                <strong>使用场景：</strong>描述机构的时间安排<br>
                <strong>注意：</strong>"半"表示30分
            </div>
            <button class="pronunciation" onclick="speak('学校は8時半に始まります')">发音</button>
        </div>
    </div>
    
    <div class="section">
        <h2>文型3: 动词时态变化</h2>
        
        <div class="verb-conjugation">
            <div class="verb-card">
                <strong>勉強します</strong><br>
                <span class="romaji">benkyō shimasu</span><br>
                学习 (现在肯定形)
                <button class="pronunciation" onclick="speak('べんきょうします')">发音</button>
            </div>
            <div class="verb-card">
                <strong>勉強しました</strong><br>
                <span class="romaji">benkyō shimashita</span><br>
                学习了 (过去肯定形)
>
                学习了 (过去肯定形)
                <button class="pronunciation" onclick="speak('べんきょうしました')">发音</button>
            </div>
            <div class="verb-card">
                <strong>勉強しません</strong><br>
                <span class="romaji">benkyō shimasen</span><br>
                不学习 (现在否定形)
                <button class="pronunciation" onclick="speak('べんきょうしません')">发音</button>
            </div>
            <div class="verb-card">
                <strong>勉強しませんでした</strong><br>
                <span class="romaji">benkyō shimasen deshita</span><br>
                没有学习 (过去否定形)
                <button class="pronunciation" onclick="speak('べんきょうしませんでした')">发音</button>
            </div>
        </div>
        
        <div class="example">
            <p>私は昨日勉強しました。(我昨天学习了)</p>
            <p class="romaji">Watashi wa kinō benkyō shimashita.</p>
            <div class="usage">
                <strong>使用场景：</strong>描述过去完成的动作<br>
                <strong>注意：</strong>"昨日"表示昨天
            </div>
            <button class="pronunciation" onclick="speak('私は昨日勉強しました')">发音</button>
        </div>
        
        <div class="example">
            <p>私は今日勉強しません。(我今天不学习)</p>
            <p class="romaji">Watashi wa kyō benkyō shimasen.</p>
            <div class="usage">
                <strong>使用场景：</strong>表达现在的否定<br>
                <strong>注意：</strong>"今日"表示今天
            </div>
            <button class="pronunciation" onclick="speak('私は今日勉強しません')">发音</button>
        </div>
        
        <div class="example">
            <p>私は先週の日曜日勉強しませんでした。(我上周日没有学习)</p>
            <p class="romaji">Watashi wa senshū no nichiyōbi benkyō shimasen deshita.</p>
            <div class="usage">
                <strong>使用场景：</strong>描述过去未完成的动作<br>
                <strong>注意：</strong>"先週"表示上周
            </div>
            <button class="pronunciation" onclick="speak('私は先週の日曜日勉強しませんでした')">发音</button>
        </div>
    </div>
    
    <div class="section">
        <h2>补充句型</h2>
        
        <div class="example">
            <p>休みは土曜日と日曜日です。(休息日是周六和周日)</p>
            <p class="romaji">Yasumi wa doyōbi to nichiyōbi desu.</p>
            <div class="usage">
                <strong>使用场景：</strong>说明休息日安排<br>
                <strong>注意：</strong>"と"表示并列
            </div>
            <button class="pronunciation" onclick="speak('休みは土曜日と日曜日です')">发音</button>
        </div>
        
        <div class="example">
            <p>昼休みは12時から1時までです。(午休是从12点到1点)</p>
            <p class="romaji">Hiruyasumi wa jūni-ji kara ichi-ji made desu.</p>
            <div class="usage">
                <strong>使用场景：</strong>说明时间段<br>
                <strong>注意：</strong>"から...まで"表示从...到...
            </div>
            <button class="pronunciation" onclick="speak('昼休みは12時から1時までです')">发音</button>
        </div>
        
        <div class="example">
            <p>私は9時から5時まで働きます。(我从9点工作到5点)</p>
            <p class="romaji">Watashi wa ku-ji kara go-ji made hatarakimasu.</p>
            <div class="usage">
                <strong>使用场景：</strong>描述工作时间<br>
                <strong>注意：</strong>工作时间常用"働きます"
            </div>
            <button class="pronunciation" onclick="speak('私は9時から5時まで働きます')">发音</button>
        </div>
        
        <div class="example">
            <p>会議は2時から3時半までです。(会议从2点到3点半)</p>
            <p class="romaji">Kaigi wa ni-ji kara san-ji han made desu.</p>
            <div class="usage">
                <strong>使用场景：</strong>安排会议时间<br>
                <strong>注意：</strong>可以混合使用时间和分钟
            </div>
            <button class="pronunciation" onclick="speak('会議は2時から3時半までです')">发音</button>
        </div>
    </div>
    
    <div class="section">
        <h2>练习题</h2>
        
        <div class="exercise">
            <div class="question">1. 请用日语说"7点15分"</div>
            <div class="answer">答え: 7時15分 (しちじじゅうごふん, shichi-ji jūgofun)</div>
            <button class="pronunciation" onclick="speak('しちじじゅうごふん')">发音</button>
        </div>
        
        <div class="exercise">
            <div class="question">2. 请翻译：我每天早上7点半吃早餐</div>
            <div class="answer">答え: 私は毎朝7時半に朝ご飯を食べます (Watashi wa maiasa shichi-ji han ni asagohan o tabemasu)</div>
            <button class="pronunciation" onclick="speak('私は毎朝7時半に朝ご飯を食べます')">发音</button>
        </div>
        
        <div class="exercise">
            <div class="question">3. 将"我昨天工作了"改为否定形式</div>
            <div class="answer">答え: 私は昨日働きませんでした (Watashi wa kinō hatarakimasen deshita)</div>
            <button class="pronunciation" onclick="speak('私は昨日働きませんでした')">发音</button>
        </div>
        
        <div class="exercise">
            <div class="question">4. 请用日语说"午休从11点半到1点"</div>
            <div class="answer">答え: 昼休みは11時半から1時までです (Hiruyasumi wa jūichi-ji han kara ichi-ji made desu)</div>
            <button class="pronunciation" onclick="speak('昼休みは11時半から1時までです')">发音</button>
        </div>
        
        <div class="exercise">
            <div class="question">5. 请翻译：图书馆从上午9点开放到下午5点</div>
            <div class="answer">答え: 図書館は午前9時から午後5時まで開いています (Toshokan wa gozen ku-ji kara gogo go-ji made aite imasu)</div>
            <button class="pronunciation" onclick="speak('図書館は午前9時から午後5時まで開いています')">发音</button>
        </div>
    </div>
    
    <div class="vocabulary-summary">
        <h2 class="summary-title">词汇总表</h2>
        <table class="vocab-table">
            <thead>
                <tr>
                    <th>日语</th>
                    <th>发音</th>
                    <th>罗马音</th>
                    <th>中文意思</th>
                    <th>发音</th>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td>時</td>
                    <td>じ</td>
                    <td>ji</td>
                    <td>点(时间)</td>
                    <td><button class="pronunciation" onclick="speak('じ')">发音</button></td>
                </tr>
                <tr>
                    <td>分</td>
                    <td>ふん/ぷん</td>
                    <td>fun/pun</td>
                    <td>分(时间)</td>
                    <td>
                      <button class="pronunciation" onclick="speak('ふん')">发音</button>
                      <button class="pronunciation" onclick="speak('ぷん')">发音</button>
                    </td>
                </tr>
                <tr>
                    <td>半</td>
                    <td>はん</td>
                    <td>han</td>
                    <td>半</td>
                    <td><button class="pronunciation" onclick="speak('はん')">发音</button></td>
                </tr>
                <tr>
                    <td>毎朝</td>
                    <td>まいあさ</td>
                    <td>maiasa</td>
                    <td>每天早上</td>
                    <td><button class="pronunciation" onclick="speak('まいあさ')">发音</button></td>
                </tr>
                <tr>
                    <td>起きます</td>
                    <td>おきます</td>
                    <td>okimasu</td>
                    <td>起床</td>
                    <td><button class="pronunciation" onclick="speak('おきます')">发音</button></td>
                </tr>
                <tr>
                    <td>寝ます</td>
                    <td>ねます</td>
                    <td>nemasu</td>
                    <td>睡觉</td>
                    <td><button class="pronunciation" onclick="speak('ねます')">发音</button></td>
                </tr>
                <tr>
                    <td>勉強します</td>
                    <td>べんきょうします</td>
                    <td>benkyō shimasu</td>
                    <td>学习</td>
                    <td><button class="pronunciation" onclick="speak('べんきょうします')">发音</button></td>
                </tr>
                <tr>
                    <td>働きます</td>
                    <td>はたらきます</td>
                    <td>hatarakimasu</td>
                    <td>工作</td>
                    <td><button class="pronunciation" onclick="speak('はたらきます')">发音</button></td>
                </tr>
                <tr>
                    <td>昨日</td>
                    <td>きのう</td>
                    <td>kinō</td>
                    <td>昨天</td>
                    <td><button class="pronunciation" onclick="speak('きのう')">发音</button></td>
                </tr>
                <tr>
                    <td>今日</td>
                    <td>きょう</td>
                    <td>kyō</td>
                    <td>今天</td>
                    <td><button class="pronunciation" onclick="speak('きょう')">发音</button></td>
                </tr>
                <tr>
                    <td>先週</td>
                    <td>せんしゅう</td>
                    <td>senshū</td>
                    <td>上周</td>
                    <td><button class="pronunciation" onclick="speak('せんしゅう')">发音</button></td>
                </tr>
                <tr>
                    <td>休み</td>
                    <td>やすみ</td>
                    <td>yasumi</td>
                    <td>休息</td>
                    <td><button class="pronunciation" onclick="speak('やすみ')">发音</button></td>
                </tr>
                <tr>
                    <td>土曜日</td>
                    <td>どようび</td>
                    <td>doyōbi</td>
                    <td>星期六</td>
                    <td><button class="pronunciation" onclick="speak('どようび')">发音</button></td>
                </tr>
                <tr>
                    <td>日曜日</td>
                    <td>にちようび</td>
                    <td>nichiyōbi</td>
                    <td>星期日</td>
                    <td><button class="pronunciation" onclick="speak('にちようび')">发音</button></td>
                </tr>
                <tr>
                    <td>昼休み</td>
                    <td>ひるやすみ</td>
                    <td>hiruyasumi</td>
                    <td>午休</td>
                    <td><button class="pronunciation" onclick="speak('ひるやすみ')">发音</button></td>
                </tr>
                <tr>
                    <td>から</td>
                    <td>から</td>
                    <td>kara</td>
                    <td>从</td>
                    <td><button class="pronunciation" onclick="speak('から')">发音</button></td>
                </tr>
                <tr>
                    <td>まで</td>
                    <td>まで</td>
                    <td>made</td>
                    <td>到</td>
                    <td><button class="pronunciation" onclick="speak('まで')">发音</button></td>
                </tr>
                <tr>
                    <td>始まります</td>
                    <td>はじまります</td>
                    <td>hajimarimasu</td>
                    <td>开始</td>
                    <td><button class="pronunciation" onclick="speak('はじまります')">发音</button></td>
                </tr>
            </tbody>
        </table>
    </div>
    
    <script>
        function speak(text) {
            if ('speechSynthesis' in window) {
                const utterance = new SpeechSynthesisUtterance();
                utterance.text = text;
                utterance.lang = 'ja-JP';
                utterance.rate = 0.8;
                window.speechSynthesis.speak(utterance);
            } else {
                alert('您的浏览器不支持语音合成功能，请使用Chrome或Edge浏览器。');
            }
        }
    </script>
</body>
</html>